import request from '../utils/axios-config'

// 获取留言墙分页数据
export function getMessageWallPage(params) {
  return request({
    url: '/admin/messageWall/page',
    method: 'get',
    params
  })
}

// 获取留言详情
export function getMessageWallDetail(messageId) {
  return request({
    url: `/admin/messageWall/detail/${messageId}`,
    method: 'get'
  })
}

// 删除留言
export function deleteMessageWall(messageId) {
  return request({
    url: `/admin/messageWall/${messageId}`,
    method: 'delete'
  })
}
